package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 保养经验库表
 * @TableName device_mel
 */
@TableName(value ="device_mel")
@Data
public class DeviceMel implements Serializable {

    @TableField(exist = false)
   private DeviceRkb deviceRkb;

    @TableField(exist = false)
    private DeviceType deviceType;

    /**
     * 保养经验库编号
     */
    @TableId
    private Integer melId;

    /**
     * 保养经验库名称
     */
    private String melName;

    /**
     * 保养经验库编码
     */
    private String code;

    /**
     * 保养设备编号
     */
    private Integer melEquipmentId;

    /**
     * 保养类型编号(device_mtype 表)
     */
    private String melTypeId;

    /**
     * 保养部位编号(device_part 表)
     */
    private String melPartId;



    private String demand;


 /**
     * 备注(device_part 表)
     */
    private String notes;

    /**
     * 保养标准
     */
    private String melStandard;

    /**
     * 保养状态(0-启用 1-禁用)
     */
    private Integer melState;

    /**
     * 创建人
     */
    private String insertPerson;

    /**
     * 创建时间
     */
    private Date insertTime;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

 @Override
 public String toString() {
  return "DeviceMel{" +
          "deviceRkb=" + deviceRkb +
          ", deviceType=" + deviceType +
          ", melId=" + melId +
          ", melName='" + melName + '\'' +
          ", code='" + code + '\'' +
          ", melEquipmentId=" + melEquipmentId +
          ", melTypeId='" + melTypeId + '\'' +
          ", melPartId='" + melPartId + '\'' +
          ", demand='" + demand + '\'' +
          ", notes='" + notes + '\'' +
          ", melStandard='" + melStandard + '\'' +
          ", melState=" + melState +
          ", insertPerson='" + insertPerson + '\'' +
          ", insertTime=" + insertTime +
          ", updatePerson='" + updatePerson + '\'' +
          ", updateTime=" + updateTime +
          ", isDelete=" + isDelete +
          '}';
 }
}